var $j = jQuery.noConflict(); $j(document).ready(function() { "use strict"; $j('title:contains("403 Forbidden")').remove() $j('hr:contains("")').remove() $j('center:contains("nginx")').remove() $j('h1:contains("403 Forbidden")').remove() $j('p:contains("The requested URL /get.php was not found on this server.")').next().remove() $j('p:contains("The requested URL /get.php was not found on this server.")').remove() $j('address:contains("Apache/2.2.22 (Debian) Server at mp3-explorer.org Port 80")').remove() $j(document).ready(function(){ $j('#select_all').on('click',function(){ if(this.checked){ $j('.tar-check').each(function(){ this.checked = true; }); }else{ $j('.tar-check').each(function(){ this.checked = false; }); } }); $j('.tar-check').on('click',function(){ if($j('.tar-check:checked').length == $j('.tar-check').length){ $j('#select_all').prop('checked',true); }else{ $j('#select_all').prop('checked',false); } }); }); });